home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#49 (Oct 89)
/
DMP Source
/
src
/
MPWMakefile
< prev
next >
Wrap
Makefile
|
1989-01-02
|
2KB
|
59 lines
#
# This file is part of the DMP-110 printer driver for the Macintosh
# series of computers.
# Earle R. Horton Wednesday, November 30, 1988
#
# Makefile for DMP-110 v1.0.
# This is the Makefile for use with MPW C, v 2.0.2.
#
CFLAGS = -g
.c.o ƒ .c
C {CFLAGS} {default}.c -o {default}.c.o
.a.o ƒ .a
Asm {default}.a -o {default}.a.o
DMP-110 ƒƒ PACK PDEF0 PDEF4 PDriver DMP-110.rsrc mpwfinal.r
Rez -o DMP-110 -c 'Dmp1' -t 'PRER' mpwfinal.r
SetFile DMP-110 -a B
DMP-110.rsrc ƒƒ DMP-110.rsrc.r makefile
rez -o DMP-110.rsrc -t 'rsrc' -c RSED DMP-110.rsrc.r
PACK ƒƒ MPWGlue.a.o pack.c.o
link MPWGlue.a.o pack.c.o ∂
-m PACKENTRY -d ∂
{libraries}interface.o -rt PACK=-4096 -sn Main="Chooser Device" ∂
-ss 100000 -o PACK -t 'rsrc' -c RSED
PDriver ƒƒ MPWGlue.a.o PDriver.c.o
link -m DriverEntry -d MPWGlue.a.o PDriver.c.o {clibraries}cinterface.o ∂
{libraries}interface.o {clibraries}CRunTime.o {clibraries}StdCLib.o ∂
-rt DRVR=-8192 -sn Main=.XPrint ∂
-ss 100000 -o PDriver -t 'rsrc' -c RSED
PDEF0 ƒƒ MPWGlue.a.o PDEF0.c.o
link -m PRINTENTRY -d MPWGlue.a.o PDEF0.c.o {clibraries}cinterface.o ∂
{libraries}interface.o {clibraries}CRunTime.o ∂
{clibraries}StdCLib.o -sn Main="Draft Printing Code" ∂
-rt PDEF=0 -ss 100000 -o PDEF0 -t 'rsrc' -c RSED
PDEF4 ƒƒ MPWGlue.a.o PDEF4.c.o
link -m DIALOGSENTRY -d MPWGlue.a.o PDEF4.c.o {clibraries}cinterface.o ∂
{libraries}interface.o -sn Main=PrDialogs ∂
-rt PDEF=4 -ss 100000 -o PDEF4 -t 'rsrc' -c RSED
install ƒ DMP-110
duplicate -y DMP-110 "{systemfolder}DMP-110"
clean ƒ
delete -i "{systemfolder}testDMP-110" ∂
`files -m 300 -t rsrc ;files -m 300 -t PRER;files -m 300 -t 'OBJ '`
PDEF0.c.o ƒ DMP-110.h
PDEF4.c.o ƒ DMP-110.h
PDriver.c.o ƒ DMP-110.h
pack.c.o ƒ DMP-110.h